package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 代拿商品对象 commodity
 * 
 * @author ruoyi
 * @date 2021-06-17
 */
public class Commodity extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 代拿商品ID */
    private Integer comId;

    /** 快递规格 */
    @Excel(name = "快递规格")
    private Integer comSpecification;

    /** 取件凭证 */
    @Excel(name = "取件凭证")
    private String comPicknumber;

    /** 取件地址 */
    @Excel(name = "取件地址")
    private String comAddress;

    /** 取件备注 */
    @Excel(name = "取件备注")
    private String comRemark;

    /** 快递状态 */
    @Excel(name = "快递状态")
    private Integer comState;

    /** 单子外键 */
    @Excel(name = "单子外键")
    private Long comCouId;

    public void setComId(Integer comId) 
    {
        this.comId = comId;
    }

    public Integer getComId() 
    {
        return comId;
    }
    public void setComSpecification(Integer comSpecification) 
    {
        this.comSpecification = comSpecification;
    }

    public Integer getComSpecification() 
    {
        return comSpecification;
    }
    public void setComPicknumber(String comPicknumber) 
    {
        this.comPicknumber = comPicknumber;
    }

    public String getComPicknumber() 
    {
        return comPicknumber;
    }
    public void setComAddress(String comAddress) 
    {
        this.comAddress = comAddress;
    }

    public String getComAddress() 
    {
        return comAddress;
    }
    public void setComRemark(String comRemark) 
    {
        this.comRemark = comRemark;
    }

    public String getComRemark() 
    {
        return comRemark;
    }
    public void setComState(Integer comState) 
    {
        this.comState = comState;
    }

    public Integer getComState() 
    {
        return comState;
    }
    public void setComCouId(Long comCouId) 
    {
        this.comCouId = comCouId;
    }

    public Long getComCouId() 
    {
        return comCouId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("comId", getComId())
            .append("comSpecification", getComSpecification())
            .append("comPicknumber", getComPicknumber())
            .append("comAddress", getComAddress())
            .append("comRemark", getComRemark())
            .append("comState", getComState())
            .append("comCouId", getComCouId())
            .toString();
    }
}
